package com.lagou.dao;

import com.lagou.domain.*;

import java.util.List;

public interface UserDao {
    public abstract List<User> findAllUserByPage(UserVo userVo);
    public abstract void updateUserStatus(User user);
    public abstract User login(User user);
    public abstract List<Role> findUserRoleById(int userId);
    public abstract void userContextRole(User_Role_relation user_role_relation);
    public abstract void deleteUserContextRole(int userId);
    public abstract List<Menu> findSubMenuListByPid(int pid);
    public abstract List<Menu> findParentMenuByRoleId(List<Integer> list);
    public abstract List<Resource> findResourceByRoleId(List<Integer> list);
}
